package io.renren.service;

import io.renren.entity.Dictionary;

import java.util.List;
import java.util.Map;

/**
 * 字典表
 * 
 * @author Wayne Wang
 * @email dujc1018@gmail.com
 * @date 2018-07-23 10:26:29
 */
public interface DictionaryService {

    Dictionary queryObject(Long id);

    List<Dictionary> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(Dictionary dictionary);

    void update(Dictionary dictionary);

    void delete(Long id);

    void deleteBatch(Long[] ids);

    void updateBatch(List<Dictionary> dictionaryList);
}
